﻿<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8" />
    <title><#:C('sitename')#></title>
	<meta name="keywords" content="<#:C('keyword')#>"/>
	<meta name="description" content="<#:C('content')#>"/>
    <meta property="qc:admins" content="1141316606716101636" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" href="<#$Theme['P']['root']#>/matrix/css/bootstrap-responsive.min.css" />
    <link rel="stylesheet" href="<#$Theme['P']['root']#>/matrix/css/matrix-login.css" />
    <link href="<#$Theme['P']['root']#>/matrix/font-awesome/css/font-awesome.css" rel="stylesheet" />
    <link href="<#$Theme['P']['root']#>/font/googlefont.css" rel="stylesheet" />
    <style>
        .edulist{line-height: 25px;font-size:14px;}
    </style>
    <link href="/test/assets/rptk_css/rptk-cloud.css" rel="stylesheet" />
    <link href="<#$Theme['P']['root']#>/css/qq/css/contact.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .sideBarNav
        {
            right:0px;
            margin:100px 0px 0px 0px;
            position:fixed;
        }
        .menubox{display:none;float:right;}
        .showbox{float:right;margin-top:150px;}
        .showbox img{border:0px;cursor:pointer;}
    </style>
    </head>
<body>
  <div class="navbar navbar-default clearfix" role="navigation">
    <div class="container">
  <div class="navbar-header">
    <a class="navbar-brand" href="/"><img src="/AUI/Index/new/images/ss.jpg"></a>
  </div>
  <div class="collapse navbar-collapse" id="navbar-collapse">
      <ul class="nav navbar-nav navbar-right"> </ul>
  </div>
</div>
</div>

    <div class="container-fluid">
        <div class="ad-box" id="ad-box">
            <div class="ad-item ad1">
                <div class="container">
                    <div class="form-actions"></div>
                    <div class="mtt10" ><img src="/AUI/Index/new/images/tt.jpg" width="612" height="409"></div>
                </div>
            </div>
        </div>
        <div class="container rptk-cloud-login">
                <div class="login-box">
                <div class="login-box-tit">登录到云平台</div>
                <div class="tips-box">
                    <div class="alert hide" id="msgbox" style="margin:0px 0px;">
                        <div id="alertmsg"></div>
                    </div>
                </div>
                <form  class="new_user" id="loginform" >
                  <div class="form-group">
                    <input autofocus="autofocus" class="form-control input-df" id="txt_user" name="txt_user" placeholder="用户名/邮箱" type="text" value="" />
                  </div>
                  <div class="form-group">
                    <input autocomplete="off" class="form-control input-df" id="password" name="password" placeholder="密码" type="password" />
                  </div>
                    <button type="button" class="btn btn-primary btn-df btn-block" id="btn_log">登 录</button>
                    <button type="button" class="btn btn-primary btn-df btn-block" id="btn_reg">注 册</button>
                </form>
                    <div class="other-login">
                        <div class="main_input_box" ></div>
                    </div>
                    <div class="login-box-bottom">
                      <a href="/index.php/agent" >代理登陆</a>
                    </div>
                </div>
        </div>
    </div>
    <footer class="container-fluid">
        <div class="container" style="text-align:center;">
          Copyright © 2014 深圳神行通科技技术有限公司  All Rights Reserved
        </div>
    </footer>
    <div style="display: none"></div>
    <script type="text/javascript">
        var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
        document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3Fff6b82e1b2c7607791dcac12a7ab8ce1' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script src="<#$Theme['P']['root']#>/matrix/js/jquery.min.js"></script>
    <script src="<#$Theme['P']['root']#>/matrix/js/bootstrap.min.js"></script>
    <script src="<#$Theme['P']['root']#>/matrix/js/common.js"></script>
    <script type="text/javascript">
        document.onkeydown=function(event){
              e = event ? event :(window.event ? window.event : null);
              if(e.keyCode==13){
                $('#btn_log').click();
              }
         }
        $(function () {
           $('#txt_user').bind('input propertychange',function(){
               $('.inputzh').hide();
           })
           $('#password').bind('input propertychange',function(){
               $('.inputpass').hide();
           })
           $('#btn_reg').bind('click',function(){
                location.href="<#:U('index/Login/reg')#>";
            });
           $('#btn_log').bind('click',function(){
                var u=$('#txt_user').val();
                var p=$('#password').val();
                 if (u == "") {AlertTips( "请输入用户名",2000); return false; }
                  if (p == "") { AlertTips( "请输入密码",2000); return false; }
                  $.ajax({
                        url: "<#:U('index/Login/dologin')#>",
                        type: "post",
                        data:{
                            'user':u,
                            'password':p,
                            '__hash__':$('input[name="__hash__"]').val()
                            },
                        dataType:'json',
                        error:function(){AlertTips("服务器忙，请稍候再试",2000);},
                        success:function(data){
                                if(data.error==0){
                                    location.href=data.url;
                                }else{
                                    AlertTips(data.msg, 2000);
                                }
                        }
                      });
                });
        });
    </script>
     <script language="javascript">
        var isshow = false;
        $(function () {
            $("#showqq").click(function () {
                if (!isshow) {
                    isshow = true;
                    $(".showbox").css("margin-right", "-3px");
                    $(".menubox").show('slow');
                } else {
                    isshow = false;
                    $(".showbox").css("margin-right", "0px");
                    $(".menubox").hide('slow');
                }
            });
        });
    </script>
</body>
</html>


